package com.hst.web.base.ui;

import java.sql.Timestamp;

import com.hst.core.meta.MetaData;
import com.hst.core.meta.annotation.EField;
import com.hst.core.meta.annotation.EInfo;
import com.hst.core.meta.annotation.FieldQuery;
import com.hst.web.base.entity.TFlowTask;
import com.hst.web.base.proxy.PersonCardApproveProxy;

@EInfo(name = "person-card-approve",title="员工通行证审批", entity = TFlowTask.class,proxy = PersonCardApproveProxy.class)
public class PersonCardApprove extends MetaData{
	
	@EField(name = "id", title = "id", list = false, form = 0)
	private String id;

	@EField(name = "flow", title = "流程类型", list = false, form = 0)
	private String flow;
	
	@EField(name = "dataId", title = "姓名",editor="select.employee-all",viewer="employeeName",form=0)
	private String dataId;
	
	@EField(name = "createUserid", title = "发起人",editor="select.login-name",viewer="dict.login-name",form=0)
	private String createUserid;
	
	@EField(name="createTime", list = false, title = "申请时间", form = 0)
	private Timestamp createTime;
	
	@EField(mapped=false, name="updateTime", title = "处理时间", form = 0)
	private Timestamp updateTime;
	
	@EField(mapped=false, title = "所属企业", form = 3, editor = "select.company-all", viewer = "dict.company-all", validate = "required", query=FieldQuery.EQ, role="9")
	private String companyCode;

	@EField(mapped=false, title = "所属部门", form = 3, editor = "select.dept-all", viewer = "dict.dept-all")
	private String deptCode;

	@EField(mapped=false, title = "承包商", form = 3, editor = "select.contractor-info", viewer = "dict.contractor-info")
	private String contractorCode;
	
	@EField(mapped=false, title = "姓名", list=false, form = 3, validate = "required", query=FieldQuery.LIKE)
	private String fullName;	
	
	@EField(mapped=false, title = "证件类型", form = 3, editor = "select.papersType",viewer = "dict.papersType", validate = "required")
	private String papersType;
	
	@EField(mapped=false, title = "证件号码", form = 3, viewer = "papersnumber", validate = "required")
	private String papersNumber;

	@EField(mapped=false, name = "issueNo", title = "通行证卡号", form = 3, validate = "max:20")
	private String issueNo;

	@EField(mapped=false, name = "passOld", title = "旧版人员证号", form = 3, validate = "max:20")
	private String passOld;		
	
	@EField(name="cardType", title = "通行证类型", form = 0, viewer = "dict.cardType", editor="select.cardType", query=FieldQuery.EQ)
	private String cardType;
	
	@EField(name="remark", title = "申请说明", form = 0, list=false)
	private String remark;
	
	@EField(name = "configId", title = "configId", list = false, form = 0)
	private String configId;
	
	@EField(name = "srl", title = "srl", list = false, form = 0)
	private int srl;

	@EField(name = "next", title = "下一步处理人",form = 0, editor="select.rolesApprove", viewer="dict.rolesApprove", query=FieldQuery.EQ)
	private String next;
	
	@EField(name = "status", title = "审批节点", form = 0)
	private String status;

	@EField(mapped=false, list = false, name = "userName", title = "用户名", form = 0)
	private String userName;
	
	@EField(mapped=false, list = false, name = "telNumber", title = "手机号", form = 3)
	private String telNumber;

	@EField(mapped=false, list = false, name = "employeeCode", title = "人员编号", form = 0)
	private String employeeCode;

	@EField(mapped=false, list = false, name = "sex", title = "性别", form = 3, editor = "select.sex", viewer = "dict.sex")
	private String sex;

	@EField(mapped=false, list = false, name = "nationality", title = "国籍", form = 3)
	private String nationality;

	@EField(mapped=false, list = false, name = "nativePlace", title = "籍贯", form = 3)
	private String nativePlace;

	@EField(mapped=false, list = false, name = "redFlag", title = "红名单", form = 0)
	private String redFlag;

	@EField(mapped=false, list = false, name = "address", title = "居住地址", form = 3, validate = "required")
	private String address;

	@EField(mapped=false, list = false, name = "dynamicFace", title = "人脸照片", form = 3, editor = "uploadImg.dynamicFace", validate = "required")
	private String dynamicFace;

	@EField(name = "employeeTypeId", title = "人员类别", form = 1, editor = "select.employeeTypeId", viewer = "dict.employeeTypeId" , query = FieldQuery.EQ)
	private String employeeTypeId;

	public String getEmployeeTypeId() {
		return employeeTypeId;
	}

	public void setEmployeeTypeId(String employeeTypeId) {
		this.employeeTypeId = employeeTypeId;
	}

	public String getCreateUserid() {
		return createUserid;
	}

	public void setCreateUserid(String createUserid) {
		this.createUserid = createUserid;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public Timestamp getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}

	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public String getCardType() {
		return cardType;
	}

	public void setCardType(String cardType) {
		this.cardType = cardType;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getCompanyCode() {
		return companyCode;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public String getDeptCode() {
		return deptCode;
	}

	public void setDeptCode(String deptCode) {
		this.deptCode = deptCode;
	}

	public String getContractorCode() {
		return contractorCode;
	}

	public void setContractorCode(String contractorCode) {
		this.contractorCode = contractorCode;
	}

	public String getPapersNumber() {
		return papersNumber;
	}

	public void setPapersNumber(String papersNumber) {
		this.papersNumber = papersNumber;
	}

	public String getPapersType() {
		return papersType;
	}

	public void setPapersType(String papersType) {
		this.papersType = papersType;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getFlow() {
		return flow;
	}

	public void setFlow(String flow) {
		this.flow = flow;
	}

	public String getDataId() {
		return dataId;
	}

	public void setDataId(String dataId) {
		this.dataId = dataId;
	}

	public String getConfigId() {
		return configId;
	}

	public void setConfigId(String configId) {
		this.configId = configId;
	}

	public int getSrl() {
		return srl;
	}

	public void setSrl(int srl) {
		this.srl = srl;
	}

	public String getNext() {
		return next;
	}

	public void setNext(String next) {
		this.next = next;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getIssueNo() {
		return issueNo;
	}

	public void setIssueNo(String issueNo) {
		this.issueNo = issueNo;
	}

	public String getPassOld() {
		return passOld;
	}

	public void setPassOld(String passOld) {
		this.passOld = passOld;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getTelNumber() {
		return telNumber;
	}

	public void setTelNumber(String telNumber) {
		this.telNumber = telNumber;
	}

	public String getEmployeeCode() {
		return employeeCode;
	}

	public void setEmployeeCode(String employeeCode) {
		this.employeeCode = employeeCode;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getNationality() {
		return nationality;
	}

	public void setNationality(String nationality) {
		this.nationality = nationality;
	}

	public String getNativePlace() {
		return nativePlace;
	}

	public void setNativePlace(String nativePlace) {
		this.nativePlace = nativePlace;
	}

	public String getRedFlag() {
		return redFlag;
	}

	public void setRedFlag(String redFlag) {
		this.redFlag = redFlag;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getDynamicFace() {
		return dynamicFace;
	}

	public void setDynamicFace(String dynamicFace) {
		this.dynamicFace = dynamicFace;
	}
	
}
